package com.maben.easyui;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
@SpringBootApplication
public class EasyuiApplication {
    public static void main(String[] args) {
        SpringApplication.run(EasyuiApplication.class, args);
        System.out.println("***************启动成功***************");
    }
    @RequestMapping("/")
    public ModelAndView index(){
        return new ModelAndView("index.html");
    }
}
